package com.api.gbhg.luoao.utils;

import java.util.Map;


public class PageEntity<T> {


    public Map<String, Object>[] getList() {
        return list;
    }

    public void setList(Map<String, Object>[] list) {
        this.list = list;
    }

    private Map<String,Object>[] list;     //对象记录结果集
    private int total;      // 总条数数
    private int pageSize;   // 每页显示条数
    private int pages;      // 总页数
    private int pageNumber; // 当前页

    public String getFromtable() {
        return fromtable;
    }

    public void setFromtable(String fromtable) {
        this.fromtable = fromtable;
    }

    private String fromtable;//表名




    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getpageSize() {
        return pageSize;
    }

    public void setpageSize(int limit) {
        this.pageSize = limit;

    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getPageNumber() {
        return pageNumber;

    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;

    }


}